CCCCCCCCCCCC CCCCCCCCCCCC CCCC CCCC ooooooo CCCC oo oo nnn CCCC oo oo n n t r i b u t e d Library for the ChemStation CCCC oo oo n n CCCC ooooooo CCCC CCCCCCCCCCCC CCCCCCCCCCCC ChemStation Family Revision A.03.0x and greater Date: 09/06/98 Macro Contribution: COPY_GLP.MAC #11 Contribution: Saving a HISTORY of GLPSAVE.REG files Revision History ---------------- 1. A.03.xx original version Contribution Purpose -------------------- Set of macros permit saving a HISTORY of GLPSAVE.REG files created during method execution. Contribution Structure ---------------------- The following macros are included in macro file COPY_GLP.MAC ... 1. Copy_GLP - If present, copies the current GLPSAVE.REG file into an incremental file name GLPSAVE.XXX. Updates file GLPINFO.TXT with history info. (Incremental file name, date/time, operator). 2. Restore_GLP - Allows user selection of incremental GLPSAVE file and copies it over the current GLPSAVE.REG 3. Copy_GLP_Menu - PREVIEWMENU HOOK macro that adds the "Restore GLPSAVE File" to "VIEW" menu in the Data Analysis View 4. Install_Copy_GLP - Creates/UpdatesUSER.MAC to include include loading of COPY_GLP.MAC during initialization of the Chemstation. Prerequisites ------------- - operating system as supported by the respective software revision - ChemStation revision A.03.0x or greater Installation ------------ * Copy macro file COPY_GLP.MAC to the ChemStation's executable directory as follows: C:\Chem32\CORE\COPY_GLP.MAC Macro Loading (First Time Installation Only) -------------------------------------------- * Load the main macro, COPY_GLP.MAC, into the ChemStation via the Command Line using: MACRO COPY_GLP.MAC,GO * Close and re-initialize the Chemstation Macro Execution: ---------------- I. COPY_GLP - Automated - Via Method Execution Macro COPY_GLP is automatically run during normal Chemstation data analysis via an entry in the POSTDA HOOKS register. II. RESTORE_GLP - Manual - Via Menu Selection a. Select the "Restore GLPSAVE File" menu selection in the Data Analysis view/View menu. b. Select history GLPSAVE file to restore and select System File Modification During Initial Macro Installation: ------------------------------------------------------------ I. USER.MAC The following lines are appended to the end of file USER.MAC !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! Installed by COPY_GLP.MAC !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Macro "COPY_GLP.MAC" SetHook "PREVIEWMENU","COPY_GLP_MENU" SetHook "POSTDA","COPY_GLP" Remove Install_Copy_GLP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! **************************************************************************